(* Content-type: application/vnd.wolfram.mathematica *)

(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)

(* CreatedBy='Mathematica 12.0' *)

(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[       158,          7]
NotebookDataLength[     54534,       1417]
NotebookOptionsPosition[     46468,       1306]
NotebookOutlinePosition[     46959,       1325]
CellTagsIndexPosition[     46916,       1322]
WindowFrame->Normal*)

(* Beginning of Notebook Content *)
Notebook[{
Cell[BoxData[
 RowBox[{"Quit", "[", "]"}]], "Input",ExpressionUUID->"3b9a12f6-612d-4a7f-bd5b-2746cc82277c"],

Cell[BoxData[{
 RowBox[{"MaximalBy", ";"}], "\[IndentingNewLine]", 
 RowBox[{"ImportString", "[", 
  RowBox[{"\"\<abc\>\"", ",", "\"\<Text\>\""}], "]"}]}], "Input",ExpressionUUI\
D->"f3cd21b6-262f-4b8f-b59b-730e67504546"],

Cell[BoxData[
 RowBox[{
  RowBox[{"(*", " ", 
   RowBox[{"trigger", " ", "autoload", " ", "Failure", " ", "formatting"}], 
   " ", "*)"}], "\[IndentingNewLine]", 
  RowBox[{"Failure", "[", 
   RowBox[{"\"\<ParsingFailure2\>\"", ",", " ", 
    RowBox[{"<|", 
     RowBox[{"\"\<FileName\>\"", " ", "->", " ", "\"\<xx\>\""}], "|>"}]}], 
   "]"}]}]], "Input",ExpressionUUID->"f31e47a7-9e18-4eef-814a-2fd1863770e0"],

Cell[BoxData[
 RowBox[{"FileSize", "[", 
  "\"\</Users/brenton/development/stash/COD/codeformatter/build-examples/\
kernel/StartUp/CharacterFunctions/CharacterFunctions.m\>\"", "]"}]], "Input",E\
xpressionUUID->"bfa066af-e71d-4aec-b76e-79daf7059a6c"],

Cell[CellGroupData[{

Cell["update", "Section",ExpressionUUID->"f2fac607-b107-44be-b828-05790349567f"],

Cell[BoxData[
 RowBox[{"PacletUninstall", "[", "\"\<CodeFormatter\>\"", "]"}]], "Input",Expr\
essionUUID->"1f548012-f673-42fa-a4c5-904b70812485"],

Cell[BoxData[
 RowBox[{"PacletInstall", "[", 
  "\"\</Users/brenton/development/stash/COD/codeformatter/build/paclet/\
CodeFormatter-999.9.paclet\>\"", "]"}]], "Input",ExpressionUUID->"40b3a4cf-\
0fa6-4cf7-9b85-034a2b03a753"]
}, Open  ]],

Cell[CellGroupData[{

Cell["Init", "Section",ExpressionUUID->"161cd04d-46b3-42df-8427-03d225a20277"],

Cell[BoxData[
 RowBox[{"Off", "[", 
  RowBox[{"General", "::", "stop"}], "]"}]], "Input",ExpressionUUID->\
"a6187360-7d23-4d23-a47a-654cf04427ae"],

Cell[BoxData[
 RowBox[{"Needs", "[", "\"\<CodeFormatter`\>\"", "]"}]], "Input",ExpressionUUID->"231e648e-ad20-45bd-816a-097eda789be8"],

Cell[BoxData[
 RowBox[{
  RowBox[{"Format`Private`$Debug", "=", "xTrue"}], ";"}]], "Input",ExpressionU\
UID->"614a6dcf-7458-416d-9f32-2695536d9e32"],

Cell[BoxData[
 RowBox[{
  RowBox[{"installation", "=", 
   RowBox[{"$InstallationDirectory", "<>", "\"\</\>\""}]}], ";"}]], "Input",Ex\
pressionUUID->"a930a67f-90a1-4eb7-a8f7-a4b2bd3a6b8b"],

Cell[BoxData[
 RowBox[{
  RowBox[{
  "protos", "=", 
   "\"\</Users/brenton/Library/Mathematica/ApplicationData/StashLink/\
Prototypes/\>\""}], ";"}]], "Input",ExpressionUUID->"080ec075-55fa-4d6e-a4f4-\
057879a07e35"],

Cell[BoxData[
 RowBox[{
  RowBox[{"stash", "=", "\"\</Users/brenton/development/stash/\>\""}], 
  ";"}]], "Input",ExpressionUUID->"a56148d3-69d4-4445-ac98-8c52bd99d838"],

Cell[BoxData[
 RowBox[{
  RowBox[{"cvs", "=", "\"\</Users/brenton/development/cvs-development/\>\""}],
   ";"}]], "Input",ExpressionUUID->"dace797b-1c44-4768-beb5-d52b9208055a"],

Cell[BoxData[
 RowBox[{
  RowBox[{"PrependTo", "[", 
   RowBox[{
   "$Path", ",", 
    "\"\</Users/brenton/development/stash/COD/codeformatter/Tests/\
CodeFormatterTestUtils/\>\""}], "]"}], ";"}]], "Input",ExpressionUUID->\
"06249f9a-2c60-4439-98bf-300cb0caa179"],

Cell[BoxData[
 RowBox[{"Needs", "[", "\"\<CodeFormatterTestUtils`\>\"", "]"}]], "Input",Expr\
essionUUID->"10ccfebd-c8d4-49a6-ad1e-5f4d5f04ac89"]
}, Closed]],

Cell[CellGroupData[{

Cell["test all files", "Section",ExpressionUUID->"11d6b8f6-32be-450f-8fe8-86d52e3363c1"],

Cell[BoxData[{
 RowBox[{"prefix1", ":=", "installation"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"prefix1", ":=", 
   RowBox[{"stash", "<>", "\"\<COD/\>\""}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"prefix2", ":=", 
   RowBox[{"stash", "<>", "\"\<COM/compile/\>\""}]}], 
  ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"prefix3", ":=", "protos"}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"prefix4", ":=", 
   RowBox[{"cvs", "<>", "\"\<Mathematica/Packages/Combinatorica/\>\""}]}], 
  ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"prefix5", ":=", 
   RowBox[{"stash", "<>", "\"\<KERN/\>\""}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{
  "prefix6", ":=", 
   "\"\</Users/brenton/development/stash/COD/codeformatter/build-examples/\
kernel/\>\""}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{
  "prefix7", ":=", 
   "\"\</Users/brenton/development/stash/COD/codeformatter/build-examples/PAC/\
\>\""}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{
  "prefix", "=", 
   "\"\</Users/brenton/development/stash/COD/codeformatter/build-examples/\
kernel/\>\""}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"names1", ":=", 
   RowBox[{"FileNames", "[", 
    RowBox[{
     RowBox[{
     "\"\<*.m\>\"", "|", "\"\<*.wl\>\"", "|", "\"\<*.mt\>\"", "|", 
      "\"\<*.mt0\>\"", "|", "\"\<*.wlt\>\""}], 
     RowBox[{"(*", "\"\<*.nb\>\"", "*)"}], ",", "prefix", ",", "Infinity"}], 
    "]"}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"names2", ":=", 
   RowBox[{"FileNames", "[", 
    RowBox[{"\"\<*.nb\>\"", ",", "prefix", ",", "Infinity"}], "]"}]}], 
  ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"names", "=", "names1"}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"toDelete", "=", 
   RowBox[{"Select", "[", 
    RowBox[{"names", ",", 
     RowBox[{
      RowBox[{"StringContainsQ", "[", 
       RowBox[{"#", ",", "\"\<.git\>\""}], "]"}], "&"}]}], "]"}]}], 
  ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"names", "=", 
   RowBox[{"Complement", "[", 
    RowBox[{"names", ",", "toDelete"}], "]"}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"toDelete", "=", 
   RowBox[{"Select", "[", 
    RowBox[{"names", ",", 
     RowBox[{
      RowBox[{"StringContainsQ", "[", 
       RowBox[{"#", ",", "\"\<CMake\>\""}], "]"}], "&"}]}], "]"}]}], 
  ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{
   RowBox[{"names", "=", 
    RowBox[{"Complement", "[", 
     RowBox[{"names", ",", "toDelete"}], "]"}]}], ";"}], 
  "\[IndentingNewLine]", 
  RowBox[{"(*", "\[IndentingNewLine]", 
   RowBox[{
    RowBox[{"toDelete", "=", 
     RowBox[{"Select", "[", 
      RowBox[{"names", ",", 
       RowBox[{
        RowBox[{"StringContainsQ", "[", 
         RowBox[{"#", ",", "\"\<build\>\""}], "]"}], "&"}]}], "]"}]}], ";", 
    "\[IndentingNewLine]", 
    RowBox[{"names", "=", 
     RowBox[{"Complement", "[", 
      RowBox[{"names", ",", "toDelete"}], "]"}]}], ";"}], 
   "\[IndentingNewLine]", "*)"}], 
  "\[IndentingNewLine]"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"toDelete", "=", 
   RowBox[{"Flatten", "[", 
    RowBox[{"StringCases", "[", 
     RowBox[{"names", ",", 
      RowBox[{"StartOfString", "~~", 
       RowBox[{"prefix", "<>", "\"\<wstp/ObjectiveMathLink/\>\""}], "~~", 
       "__"}]}], "]"}], "]"}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"names", "=", 
   RowBox[{"Complement", "[", 
    RowBox[{"names", ",", "toDelete"}], "]"}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"toDelete", "=", 
   RowBox[{"Flatten", "[", 
    RowBox[{"StringCases", "[", 
     RowBox[{"names", ",", 
      RowBox[{"StartOfString", "~~", 
       RowBox[{"prefix", "<>", "\"\<jlink/src/Mac/\>\""}], "~~", "__"}]}], 
     "]"}], "]"}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"names", "=", 
   RowBox[{"Complement", "[", 
    RowBox[{"names", ",", "toDelete"}], "]"}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"toDelete", "=", 
   RowBox[{"Flatten", "[", 
    RowBox[{"StringCases", "[", 
     RowBox[{"names", ",", 
      RowBox[{"StartOfString", "~~", 
       RowBox[{
       "prefix", "<>", 
        "\"\<autolibrarylink/AutoLibraryLink/Resources/wl-template.m\>\""}]}]}\
], "]"}], "]"}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"names", "=", 
   RowBox[{"Complement", "[", 
    RowBox[{"names", ",", "toDelete"}], "]"}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"toDelete", "=", 
   RowBox[{"Flatten", "[", 
    RowBox[{"StringCases", "[", 
     RowBox[{"names", ",", 
      RowBox[{"StartOfString", "~~", 
       RowBox[{"prefix", "<>", "\"\<CMake/\>\""}], "~~", "__"}]}], "]"}], 
    "]"}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"names", "=", 
   RowBox[{"Complement", "[", 
    RowBox[{"names", ",", "toDelete"}], "]"}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"toDelete", "=", 
   RowBox[{"Flatten", "[", 
    RowBox[{"StringCases", "[", 
     RowBox[{"names", ",", 
      RowBox[{"StartOfString", "~~", 
       RowBox[{"prefix", "<>", "\"\<frontend/Source/Macintosh/\>\""}], "~~", 
       "__"}]}], "]"}], "]"}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"names", "=", 
   RowBox[{"Complement", "[", 
    RowBox[{"names", ",", "toDelete"}], "]"}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"toDelete", "=", 
   RowBox[{"Flatten", "[", 
    RowBox[{"StringCases", "[", 
     RowBox[{"names", ",", 
      RowBox[{"StartOfString", "~~", 
       RowBox[{"prefix", "<>", "\"\<frontend/Source/SystemInterface/\>\""}], "~~",
        "__"}]}], "]"}], "]"}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{
   RowBox[{"names", "=", 
    RowBox[{"Complement", "[", 
     RowBox[{"names", ",", "toDelete"}], "]"}]}], ";"}], 
  "\[IndentingNewLine]", "\[IndentingNewLine]", 
  RowBox[{"(*", "\[IndentingNewLine]", 
   RowBox[{"Directory", ",", " ", 
    RowBox[{"not", " ", "a", " ", "file"}]}], "\[IndentingNewLine]", 
   "*)"}]}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"toDelete", "=", 
   RowBox[{"Flatten", "[", 
    RowBox[{"StringCases", "[", 
     RowBox[{"names", ",", 
      RowBox[{"StartOfString", "~~", 
       RowBox[{
       "prefix", "<>", 
        "\"\<neuralnetworks/NeuralNetworks/NetTrain.m\>\""}]}]}], "]"}], 
    "]"}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"names", "=", 
   RowBox[{"Complement", "[", 
    RowBox[{"names", ",", "toDelete"}], "]"}]}], ";"}]}], "Input",ExpressionUU\
ID->"7ad6e544-bdbf-4d2a-82a6-39d2b4657e9b"],

Cell[BoxData[
 RowBox[{"Length", "[", "names", "]"}]], "Input",ExpressionUUID->"cc4c7e72-04fd-428f-abe9-a639728a33e9"],

Cell[BoxData[
 RowBox[{
  RowBox[{"$DebugLoop", "=", "xTrue"}], ";"}]], "Input",ExpressionUUID->\
"466588fc-b15a-41b3-886a-a7cb7ddd9b21"],

Cell[BoxData[{
 RowBox[{
  RowBox[{"$minSizeLimit", "=", "0.0*^6"}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"$maxSizeLimit", "=", "0.7*^6"}], ";"}]}], "Input",ExpressionUUID->\
"d9883cb5-124d-4b97-96c8-65f6690f0d5d"],

Cell[BoxData[{
 RowBox[{
  RowBox[{"CodeFormatter`Private`$Debug", "=", "xTrue"}], 
  ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"CodeFormatter`Private`$DisableSanityChecking", "=", "xTrue"}], 
  ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"CodeFormatter`Private`$DisableBadMerging", "=", "xTrue"}], 
  ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"CodeFormatter`Private`$Debug3", "=", "xTrue"}], ";"}]}], "Input",Ex\
pressionUUID->"58a667ac-1a60-4758-831a-093e5d476d37"],

Cell[BoxData[
 RowBox[{
  RowBox[{"start", "=", "1"}], ";"}]], "Input",ExpressionUUID->"3a1c2e3c-fc92-489f-a397-4c5c71245e7c"],

Cell[BoxData[{
 RowBox[{
  RowBox[{"x", "=", "start"}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"file", "=", "None"}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"Print", "[", 
   RowBox[{"\"\<Parsing \>\"", ",", " ", 
    RowBox[{"Length", "[", 
     RowBox[{"names", "[", 
      RowBox[{"[", 
       RowBox[{"start", ";;"}], "]"}], "]"}], "]"}], ",", "\"\< files\>\""}], 
   "]"}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"Print", "[", 
   RowBox[{"\"\<Current file: \>\"", ",", 
    RowBox[{"Dynamic", "[", 
     RowBox[{"Short", "[", "file", "]"}], "]"}]}], "]"}], 
  ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"Print", "[", 
   RowBox[{"\"\<Current file size: \>\"", ",", 
    RowBox[{"Dynamic", "[", 
     RowBox[{"FileSize", "[", "file", "]"}], "]"}]}], "]"}], 
  ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"Print", "[", 
   RowBox[{"\"\<Current index: \>\"", ",", 
    RowBox[{"Dynamic", "[", "x", "]"}]}], "]"}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"Print", "[", 
   RowBox[{"Row", "[", 
    RowBox[{"{", 
     RowBox[{"\"\<overall\>\"", ",", 
      RowBox[{"Spacer", "[", "10", "]"}], ",", 
      RowBox[{"ProgressIndicator", "[", 
       RowBox[{
        RowBox[{"Dynamic", "[", "x", "]"}], ",", 
        RowBox[{"{", 
         RowBox[{"0", ",", 
          RowBox[{"Length", "[", "names", "]"}]}], "}"}]}], "]"}]}], "}"}], 
    "]"}], "]"}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"Scan", "[", 
   RowBox[{
    RowBox[{
     RowBox[{"(", "\[IndentingNewLine]", 
      RowBox[{
       RowBox[{"file", "=", "#"}], ";", "\[IndentingNewLine]", 
       "\[IndentingNewLine]", 
       RowBox[{"Which", "[", "\[IndentingNewLine]", 
        RowBox[{
         RowBox[{"TrueQ", "[", "$DebugLoop", "]"}], ",", 
         "\[IndentingNewLine]", 
         RowBox[{"Print", "[", 
          RowBox[{"x", ",", "\"\< \>\"", ",", 
           RowBox[{"File", "[", "file", "]"}]}], "]"}], "\[IndentingNewLine]",
          ",", "\[IndentingNewLine]", 
         RowBox[{
          RowBox[{"Mod", "[", 
           RowBox[{"x", ",", "100"}], "]"}], "\[Equal]", "0"}], ",", 
         "\[IndentingNewLine]", 
         RowBox[{
          RowBox[{"Print", "[", 
           RowBox[{"x", ",", "\"\< \>\"", ",", 
            RowBox[{"File", "[", "file", "]"}]}], "]"}], ";", 
          "\[IndentingNewLine]", 
          RowBox[{"NotebookSave", "[", 
           RowBox[{"EvaluationNotebook", "[", "]"}], "]"}]}]}], 
        "\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]", 
       "\[IndentingNewLine]", 
       RowBox[{"res", "=", 
        RowBox[{"formatTest", "[", 
         RowBox[{"#", ",", "x", ",", 
          RowBox[{"\"\<FileSizeLimit\>\"", "\[Rule]", 
           RowBox[{"{", 
            RowBox[{"$minSizeLimit", ",", "$maxSizeLimit"}], "}"}]}], ",", 
          RowBox[{"\"\<DryRun\>\"", "\[Rule]", "True"}], ",", 
          RowBox[{"\"\<FileNamePrefixPattern\>\"", "\[Rule]", "prefix"}], ",", 
          RowBox[{"\"\<LineWidth\>\"", "\[Rule]", "$DefaultLineWidth"}], ",", 
          
          RowBox[{"\"\<SafetyMargin\>\"", "\[Rule]", "$DefaultSafetyMargin"}],
           ",", 
          RowBox[{"Airiness", "\[Rule]", "$DefaultAiriness"}], ",", 
          RowBox[{"PerformanceGoal", "\[Rule]", "\"\<Quality\>\""}]}], 
         "]"}]}], ";", "\[IndentingNewLine]", 
       RowBox[{"If", "[", 
        RowBox[{
         RowBox[{"FailureQ", "[", "res", "]"}], ",", "\[IndentingNewLine]", 
         RowBox[{
          RowBox[{"Print", "[", 
           RowBox[{"\"\<index: \>\"", ",", "x", ",", "\"\< \>\"", ",", 
            RowBox[{"File", "[", "file", "]"}]}], "]"}], ";", 
          "\[IndentingNewLine]", 
          RowBox[{"Print", "[", 
           RowBox[{
           "\"\<index: \>\"", ",", "x", ",", "\"\< \>\"", ",", "res"}], 
           "]"}]}]}], "\[IndentingNewLine]", "]"}], ";", 
       "\[IndentingNewLine]", 
       RowBox[{"x", "++"}], ";"}], "\[IndentingNewLine]", ")"}], "&"}], 
    "\[IndentingNewLine]", ",", "\[IndentingNewLine]", 
    RowBox[{"names", "[", 
     RowBox[{"[", 
      RowBox[{"start", ";;"}], "]"}], "]"}]}], "\[IndentingNewLine]", "]"}], "//",
   "AbsoluteTiming"}]}], "Input",ExpressionUUID->"928b0e27-a38d-42a7-a96b-\
61286fb53b2a"]
}, Closed]],

Cell[CellGroupData[{

Cell["test all files - Package Editor", "Section",ExpressionUUID->"abf6b4dd-8fdb-47ba-adc8-bfe7993dc8b3"],

Cell[BoxData[{
 RowBox[{"prefix1", ":=", "installation"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"prefix1", ":=", 
   RowBox[{"stash", "<>", "\"\<COD/\>\""}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"prefix2", ":=", 
   RowBox[{"stash", "<>", "\"\<COM/compile/\>\""}]}], 
  ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"prefix3", ":=", "protos"}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"prefix4", ":=", 
   RowBox[{"cvs", "<>", "\"\<Mathematica/Packages/Combinatorica/\>\""}]}], 
  ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"prefix5", ":=", 
   RowBox[{"stash", "<>", "\"\<KERN/\>\""}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{
  "prefix6", ":=", 
   "\"\</Users/brenton/development/stash/COD/codeformatter/build-examples/\
kernel/\>\""}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{
  "prefix", "=", 
   "\"\</Users/brenton/development/stash/COD/codeformatter/build-examples/\
kernel/\>\""}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"names1", ":=", 
   RowBox[{"FileNames", "[", 
    RowBox[{
     RowBox[{
     "\"\<*.m\>\"", "|", "\"\<*.wl\>\"", "|", "\"\<*.mt\>\"", "|", 
      "\"\<*.mt0\>\"", "|", "\"\<*.wlt\>\""}], 
     RowBox[{"(*", "\"\<*.nb\>\"", "*)"}], ",", "prefix", ",", "Infinity"}], 
    "]"}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"names2", ":=", 
   RowBox[{"FileNames", "[", 
    RowBox[{"\"\<*.nb\>\"", ",", "prefix", ",", "Infinity"}], "]"}]}], 
  ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"names", "=", "names1"}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"toDelete", "=", 
   RowBox[{"Select", "[", 
    RowBox[{"names", ",", 
     RowBox[{
      RowBox[{"StringContainsQ", "[", 
       RowBox[{"#", ",", "\"\<.git\>\""}], "]"}], "&"}]}], "]"}]}], 
  ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"names", "=", 
   RowBox[{"Complement", "[", 
    RowBox[{"names", ",", "toDelete"}], "]"}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"toDelete", "=", 
   RowBox[{"Select", "[", 
    RowBox[{"names", ",", 
     RowBox[{
      RowBox[{"StringContainsQ", "[", 
       RowBox[{"#", ",", "\"\<CMake\>\""}], "]"}], "&"}]}], "]"}]}], 
  ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{
   RowBox[{"names", "=", 
    RowBox[{"Complement", "[", 
     RowBox[{"names", ",", "toDelete"}], "]"}]}], ";"}], 
  "\[IndentingNewLine]", 
  RowBox[{"(*", "\[IndentingNewLine]", 
   RowBox[{
    RowBox[{"toDelete", "=", 
     RowBox[{"Select", "[", 
      RowBox[{"names", ",", 
       RowBox[{
        RowBox[{"StringContainsQ", "[", 
         RowBox[{"#", ",", "\"\<build\>\""}], "]"}], "&"}]}], "]"}]}], ";", 
    "\[IndentingNewLine]", 
    RowBox[{"names", "=", 
     RowBox[{"Complement", "[", 
      RowBox[{"names", ",", "toDelete"}], "]"}]}], ";"}], 
   "\[IndentingNewLine]", "*)"}], 
  "\[IndentingNewLine]"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"toDelete", "=", 
   RowBox[{"Flatten", "[", 
    RowBox[{"StringCases", "[", 
     RowBox[{"names", ",", 
      RowBox[{"StartOfString", "~~", 
       RowBox[{"prefix", "<>", "\"\<wstp/ObjectiveMathLink/\>\""}], "~~", 
       "__"}]}], "]"}], "]"}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"names", "=", 
   RowBox[{"Complement", "[", 
    RowBox[{"names", ",", "toDelete"}], "]"}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"toDelete", "=", 
   RowBox[{"Flatten", "[", 
    RowBox[{"StringCases", "[", 
     RowBox[{"names", ",", 
      RowBox[{"StartOfString", "~~", 
       RowBox[{"prefix", "<>", "\"\<jlink/src/Mac/\>\""}], "~~", "__"}]}], 
     "]"}], "]"}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"names", "=", 
   RowBox[{"Complement", "[", 
    RowBox[{"names", ",", "toDelete"}], "]"}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"toDelete", "=", 
   RowBox[{"Flatten", "[", 
    RowBox[{"StringCases", "[", 
     RowBox[{"names", ",", 
      RowBox[{"StartOfString", "~~", 
       RowBox[{
       "prefix", "<>", 
        "\"\<autolibrarylink/AutoLibraryLink/Resources/wl-template.m\>\""}]}]}\
], "]"}], "]"}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"names", "=", 
   RowBox[{"Complement", "[", 
    RowBox[{"names", ",", "toDelete"}], "]"}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"toDelete", "=", 
   RowBox[{"Flatten", "[", 
    RowBox[{"StringCases", "[", 
     RowBox[{"names", ",", 
      RowBox[{"StartOfString", "~~", 
       RowBox[{"prefix", "<>", "\"\<CMake/\>\""}], "~~", "__"}]}], "]"}], 
    "]"}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"names", "=", 
   RowBox[{"Complement", "[", 
    RowBox[{"names", ",", "toDelete"}], "]"}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"toDelete", "=", 
   RowBox[{"Flatten", "[", 
    RowBox[{"StringCases", "[", 
     RowBox[{"names", ",", 
      RowBox[{"StartOfString", "~~", 
       RowBox[{"prefix", "<>", "\"\<frontend/Source/Macintosh/\>\""}], "~~", 
       "__"}]}], "]"}], "]"}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"names", "=", 
   RowBox[{"Complement", "[", 
    RowBox[{"names", ",", "toDelete"}], "]"}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"toDelete", "=", 
   RowBox[{"Flatten", "[", 
    RowBox[{"StringCases", "[", 
     RowBox[{"names", ",", 
      RowBox[{"StartOfString", "~~", 
       RowBox[{"prefix", "<>", "\"\<frontend/Source/SystemInterface/\>\""}], "~~",
        "__"}]}], "]"}], "]"}]}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"names", "=", 
   RowBox[{"Complement", "[", 
    RowBox[{"names", ",", "toDelete"}], "]"}]}], ";"}]}], "Input",ExpressionUU\
ID->"c986dad7-4fd0-4eb6-85c6-c78ee10892d7"],

Cell[BoxData[
 RowBox[{"Length", "[", "names", "]"}]], "Input",ExpressionUUID->"106e35ab-0887-4873-aa92-e40f550adfc9"],

Cell[BoxData[
 RowBox[{
  RowBox[{"$DebugLoop", "=", "xTrue"}], ";"}]], "Input",ExpressionUUID->\
"5a4be2cb-f9da-4e6a-bc9a-dbca93af8639"],

Cell[BoxData[{
 RowBox[{
  RowBox[{"$minSizeLimit", "=", "0.0*^6"}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"$maxSizeLimit", "=", "0.4*^6"}], ";"}]}], "Input",ExpressionUUID->\
"bc0b606b-d6c6-4c75-95e0-86995008c0f2"],

Cell[BoxData[{
 RowBox[{
  RowBox[{"CodeFormatter`Private`$Debug", "=", "xTrue"}], 
  ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"CodeFormatter`Private`$DisableSanityChecking", "=", "xTrue"}], 
  ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"CodeFormatter`Private`$DisableBadMerging", "=", "xTrue"}], 
  ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"CodeFormatter`Private`$Debug3", "=", "xTrue"}], ";"}]}], "Input",Ex\
pressionUUID->"620a0d76-d274-4612-99c4-721b2f5cdebf"],

Cell[BoxData[
 RowBox[{
  RowBox[{"start", "=", "1"}], ";"}]], "Input",ExpressionUUID->"1f581042-7426-4b7d-8e91-c97f197e96d1"],

Cell[BoxData[{
 RowBox[{
  RowBox[{"x", "=", "start"}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"file", "=", "None"}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"Print", "[", 
   RowBox[{"\"\<Parsing \>\"", ",", " ", 
    RowBox[{"Length", "[", 
     RowBox[{"names", "[", 
      RowBox[{"[", 
       RowBox[{"start", ";;"}], "]"}], "]"}], "]"}], ",", "\"\< files\>\""}], 
   "]"}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"Print", "[", 
   RowBox[{"\"\<Current file: \>\"", ",", 
    RowBox[{"Dynamic", "[", 
     RowBox[{"Short", "[", "file", "]"}], "]"}]}], "]"}], 
  ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"Print", "[", 
   RowBox[{"\"\<Current file size: \>\"", ",", 
    RowBox[{"Dynamic", "[", 
     RowBox[{"FileSize", "[", "file", "]"}], "]"}]}], "]"}], 
  ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"Print", "[", 
   RowBox[{"\"\<Current index: \>\"", ",", 
    RowBox[{"Dynamic", "[", "x", "]"}]}], "]"}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"Print", "[", 
   RowBox[{"Row", "[", 
    RowBox[{"{", 
     RowBox[{"\"\<overall\>\"", ",", 
      RowBox[{"Spacer", "[", "10", "]"}], ",", 
      RowBox[{"ProgressIndicator", "[", 
       RowBox[{
        RowBox[{"Dynamic", "[", "x", "]"}], ",", 
        RowBox[{"{", 
         RowBox[{"0", ",", 
          RowBox[{"Length", "[", "names", "]"}]}], "}"}]}], "]"}]}], "}"}], 
    "]"}], "]"}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"Scan", "[", 
   RowBox[{
    RowBox[{
     RowBox[{"(", "\[IndentingNewLine]", 
      RowBox[{
       RowBox[{"file", "=", "#"}], ";", "\[IndentingNewLine]", 
       "\[IndentingNewLine]", 
       RowBox[{"Which", "[", "\[IndentingNewLine]", 
        RowBox[{
         RowBox[{"TrueQ", "[", "$DebugLoop", "]"}], ",", 
         "\[IndentingNewLine]", 
         RowBox[{"Print", "[", 
          RowBox[{"x", ",", "\"\< \>\"", ",", 
           RowBox[{"File", "[", "file", "]"}]}], "]"}], "\[IndentingNewLine]",
          ",", "\[IndentingNewLine]", 
         RowBox[{
          RowBox[{"Mod", "[", 
           RowBox[{"x", ",", "100"}], "]"}], "\[Equal]", "0"}], ",", 
         "\[IndentingNewLine]", 
         RowBox[{
          RowBox[{"Print", "[", 
           RowBox[{"x", ",", "\"\< \>\"", ",", 
            RowBox[{"File", "[", "file", "]"}]}], "]"}], ";", 
          "\[IndentingNewLine]", 
          RowBox[{"NotebookSave", "[", 
           RowBox[{"EvaluationNotebook", "[", "]"}], "]"}]}]}], 
        "\[IndentingNewLine]", "]"}], ";", "\[IndentingNewLine]", 
       "\[IndentingNewLine]", 
       RowBox[{"res", "=", 
        RowBox[{"formatPackageEditorTest", "[", 
         RowBox[{"#", ",", "x", ",", 
          RowBox[{"\"\<FileSizeLimit\>\"", "\[Rule]", 
           RowBox[{"{", 
            RowBox[{"$minSizeLimit", ",", "$maxSizeLimit"}], "}"}]}], ",", 
          RowBox[{"\"\<DryRun\>\"", "\[Rule]", "True"}], ",", 
          RowBox[{"\"\<FileNamePrefixPattern\>\"", "\[Rule]", "prefix"}], ",", 
          RowBox[{"\"\<LineWidth\>\"", "\[Rule]", "78"}], ",", 
          RowBox[{"\"\<SafetyMargin\>\"", "\[Rule]", "10"}], ",", 
          RowBox[{"Airiness", "\[Rule]", "0"}]}], "]"}]}], ";", 
       "\[IndentingNewLine]", 
       RowBox[{"If", "[", 
        RowBox[{
         RowBox[{"FailureQ", "[", "res", "]"}], ",", "\[IndentingNewLine]", 
         RowBox[{
          RowBox[{"Print", "[", 
           RowBox[{"\"\<index: \>\"", ",", "x", ",", "\"\< \>\"", ",", 
            RowBox[{"File", "[", "file", "]"}]}], "]"}], ";", 
          "\[IndentingNewLine]", 
          RowBox[{"Print", "[", 
           RowBox[{
           "\"\<index: \>\"", ",", "x", ",", "\"\< \>\"", ",", "res"}], 
           "]"}]}]}], "\[IndentingNewLine]", "]"}], ";", 
       "\[IndentingNewLine]", 
       RowBox[{"x", "++"}], ";"}], "\[IndentingNewLine]", ")"}], "&"}], 
    "\[IndentingNewLine]", ",", "\[IndentingNewLine]", 
    RowBox[{"names", "[", 
     RowBox[{"[", 
      RowBox[{"start", ";;"}], "]"}], "]"}]}], "\[IndentingNewLine]", "]"}], "//",
   "AbsoluteTiming"}]}], "Input",ExpressionUUID->"59566411-909a-43a8-a763-\
61aa7adc1ec7"]
}, Closed]],

Cell[CellGroupData[{

Cell["playground", "Section",ExpressionUUID->"55fdb53e-ce21-4677-b1ca-3a49fb8d3706"],

Cell[BoxData[
 RowBox[{"Quit", "[", "]"}]], "Input",ExpressionUUID->"a8307a45-0a30-4e2b-b1ab-e6dd7d63632c"],

Cell[BoxData[
 RowBox[{"Needs", "[", "\"\<CodeParser`\>\"", "]"}]], "Input",ExpressionUUID->"8ab703bd-e296-46fb-b6b4-67a4865fea1c"],

Cell[BoxData[
 RowBox[{"Needs", "[", "\"\<CodeFormatter`\>\"", "]"}]], "Input",ExpressionUUID->"fd358639-5ffd-44c3-a868-bebf4ac75d78"],

Cell[BoxData[
 RowBox[{
  RowBox[{"CodeFormatter`Private`$Debug", "=", "True"}], ";"}]], "Input",Expre\
ssionUUID->"a03ea21a-da90-4bf7-8488-b56ba3b87acf"],

Cell[BoxData[
 RowBox[{"CodeFormat", "[", "\"\<1+1\>\"", "]"}]], "Input",ExpressionUUID->"c8700373-dfe2-44cb-b7a4-ee35a218cc03"]
}, Closed]],

Cell[CellGroupData[{

Cell["Symbol Names", "Section",ExpressionUUID->"3b721d16-8d33-4808-864d-3f17b9f00974"],

Cell[BoxData[
 RowBox[{"Quit", "[", "]"}]], "Input",ExpressionUUID->"6b570fbe-4c0e-44f3-9a09-e1e05b536185"],

Cell[BoxData[{
 RowBox[{"MaximalBy", ";"}], "\[IndentingNewLine]", 
 RowBox[{"ImportString", "[", 
  RowBox[{"\"\<abc\>\"", ",", "\"\<Text\>\""}], "]"}]}], "Input",ExpressionUUI\
D->"d2f65c5d-ea7f-466d-8898-2754d1c45817"],

Cell[BoxData[
 RowBox[{
  RowBox[{"(*", " ", 
   RowBox[{"trigger", " ", "autoload", " ", "Failure", " ", "formatting"}], 
   " ", "*)"}], "\[IndentingNewLine]", 
  RowBox[{"Failure", "[", 
   RowBox[{"\"\<ParsingFailure2\>\"", ",", " ", 
    RowBox[{"<|", 
     RowBox[{"\"\<FileName\>\"", " ", "->", " ", "\"\<xx\>\""}], "|>"}]}], 
   "]"}]}]], "Input",ExpressionUUID->"700b4f0b-afe8-4056-bda8-3028e6a54424"],

Cell[BoxData[{
 RowBox[{"Needs", "[", "\"\<CodeParser`\>\"", "]"}], "\[IndentingNewLine]", 
 RowBox[{"Needs", "[", "\"\<CodeParser`CodeAction`\>\"", "]"}]}], "Input",Expr\
essionUUID->"96ae0ff5-9cc3-47c5-9067-1bccb623ca6c"],

Cell[BoxData[
 RowBox[{
  RowBox[{"before", "=", 
   RowBox[{"Block", "[", 
    RowBox[{
     RowBox[{"{", 
      RowBox[{"$ContextPath", "=", 
       RowBox[{"{", "\"\<System`\>\"", "}"}]}], "}"}], ",", 
     RowBox[{"Names", "[", "]"}]}], "]"}]}], ";"}]], "Input",ExpressionUUID->\
"8f816374-fb59-4833-bce4-c667edca079a"],

Cell[BoxData[
 RowBox[{"Needs", "[", "\"\<CodeFormatter`\>\"", "]"}]], "Input",ExpressionUUID->"5ea4b777-e753-43a5-8f9e-a4f2963a32c2"],

Cell[BoxData[
 RowBox[{
  RowBox[{"after", "=", 
   RowBox[{"Block", "[", 
    RowBox[{
     RowBox[{"{", 
      RowBox[{"$ContextPath", "=", 
       RowBox[{"{", "\"\<System`\>\"", "}"}]}], "}"}], ",", 
     RowBox[{"Names", "[", "]"}]}], "]"}]}], ";"}]], "Input",ExpressionUUID->\
"6ac7e064-389d-4e75-bc1f-e69ac7a88cf7"],

Cell[BoxData[
 RowBox[{
  RowBox[{"Names", "[", "\"\<CodeFormatter`*\>\"", "]"}], "//", 
  "Column"}]], "Input",ExpressionUUID->"41a97de2-6494-4710-9236-2d3b9cceee72"],

Cell[BoxData[
 RowBox[{
  RowBox[{"uppercaseSymbolQ", "[", "name_String", "]"}], ":=", 
  RowBox[{"UpperCaseQ", "[", 
   RowBox[{"StringTake", "[", 
    RowBox[{
     RowBox[{
      RowBox[{"StringSplit", "[", 
       RowBox[{"name", ",", "\"\<`\>\""}], "]"}], "[", 
      RowBox[{"[", 
       RowBox[{"-", "1"}], "]"}], "]"}], ",", "1"}], "]"}], "]"}]}]], "Input",\
ExpressionUUID->"6654677f-d6bf-4d62-b72c-8a11f1cf0eb3"],

Cell[BoxData[
 RowBox[{
  RowBox[{"split", "[", "name_", "]"}], ":=", 
  RowBox[{
   RowBox[{
    RowBox[{"{", 
     RowBox[{
      RowBox[{"StringJoin", "[", 
       RowBox[{
        RowBox[{
         RowBox[{"{", 
          RowBox[{"#", ",", "\"\<`\>\""}], "}"}], "&"}], "/@", 
        RowBox[{"Most", "[", "#", "]"}]}], "]"}], ",", 
      RowBox[{"Last", "[", "#", "]"}]}], "}"}], "&"}], "[", 
   RowBox[{"StringSplit", "[", 
    RowBox[{"name", ",", "\"\<`\>\""}], "]"}], "]"}]}]], "Input",ExpressionUUI\
D->"83aad227-072b-40de-ac67-6c3bfb8a6cea"],

Cell[BoxData[
 RowBox[{"Grid", "[", 
  RowBox[{
   RowBox[{"split", "/@", 
    RowBox[{"Select", "[", 
     RowBox[{
      RowBox[{"Block", "[", 
       RowBox[{
        RowBox[{"{", 
         RowBox[{"$ContextPath", "=", 
          RowBox[{"{", "\"\<System`\>\"", "}"}]}], "}"}], ",", 
        RowBox[{"Complement", "[", 
         RowBox[{"after", ",", "before"}], "]"}]}], "]"}], ",", 
      "uppercaseSymbolQ"}], "]"}]}], ",", 
   RowBox[{"Alignment", "\[Rule]", 
    RowBox[{"{", 
     RowBox[{"Right", ",", "Baseline"}], "}"}]}]}], "]"}]], "Input",Expression\
UUID->"572bcff4-dca3-48f1-a9da-bf2ef3e8efaf"],

Cell[BoxData[
 RowBox[{"Grid", "[", 
  RowBox[{
   RowBox[{"split", "/@", 
    RowBox[{"Block", "[", 
     RowBox[{
      RowBox[{"{", 
       RowBox[{"$ContextPath", "=", 
        RowBox[{"{", "\"\<System`\>\"", "}"}]}], "}"}], ",", 
      RowBox[{"Complement", "[", 
       RowBox[{"after", ",", "before"}], "]"}]}], "]"}]}], ",", 
   RowBox[{"Alignment", "\[Rule]", 
    RowBox[{"{", 
     RowBox[{"Right", ",", "Baseline"}], "}"}]}]}], "]"}]], "Input",Expression\
UUID->"b28ca3fa-0976-4130-91d7-de408f3d1789"],

Cell[BoxData[
 RowBox[{"Grid", "[", 
  RowBox[{
   RowBox[{"SortBy", "[", 
    RowBox[{
     RowBox[{"split", "/@", 
      RowBox[{"Block", "[", 
       RowBox[{
        RowBox[{"{", 
         RowBox[{"$ContextPath", "=", 
          RowBox[{"{", "\"\<System`\>\"", "}"}]}], "}"}], ",", 
        RowBox[{"Complement", "[", 
         RowBox[{"after", ",", "before"}], "]"}]}], "]"}]}], ",", 
     RowBox[{"{", 
      RowBox[{
       RowBox[{
        RowBox[{"#", "[", 
         RowBox[{"[", "2", "]"}], "]"}], "&"}], ",", 
       RowBox[{
        RowBox[{"#", "[", 
         RowBox[{"[", "1", "]"}], "]"}], "&"}]}], "}"}]}], "]"}], ",", 
   RowBox[{"Alignment", "\[Rule]", 
    RowBox[{"{", 
     RowBox[{"Right", ",", "Baseline"}], "}"}]}]}], "]"}]], "Input",Expression\
UUID->"b4ecbe07-1c6c-4ed7-bd04-2f319f58c6ad"]
}, Closed]],

Cell[CellGroupData[{

Cell["random strings", "Section",ExpressionUUID->"c0756288-c896-4d5e-b397-f473cf991458"],

Cell[BoxData[
 RowBox[{"<<", "CodeParser`"}]], "Input",ExpressionUUID->"a3436fcc-d073-4837-8a58-dff0e0769307"],

Cell[BoxData[
 RowBox[{"<<", "CodeFormatter`"}]], "Input",ExpressionUUID->"61c24679-58c5-4258-a973-ed4c1d8743db"],

Cell[BoxData[{
 RowBox[{
  RowBox[{"CodeFormatter`Private`$Debug", "=", "xTrue"}], 
  ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"CodeFormatter`Private`$DisableSanityChecking", "=", "xTrue"}], 
  ";"}]}], "Input",ExpressionUUID->"ea92c404-d92f-41b0-b5c5-1cf01817145e"],

Cell[BoxData[{
 RowBox[{
  RowBox[{"tabProb", "=", "0"}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"newlineProb", "=", "0"}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"spaceProb", "=", "0"}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"punctProb", "=", "0"}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"letterlikeProb", "=", "1"}], ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"digitProb", "=", "1"}], ";"}]}], "Input",ExpressionUUID->"af852557-\
207e-456b-bcd4-348d26d4d7c8"],

Cell[BoxData[
 RowBox[{
  RowBox[{"rules", ":=", 
   RowBox[{"Rule", "@@", 
    RowBox[{"Transpose", "[", 
     RowBox[{"{", 
      RowBox[{
       RowBox[{"{", 
        RowBox[{"0", ",", "\"\<\\t\>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{"0", ",", "\"\<\\n\>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{"1", ",", "\"\< \>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{
         RowBox[{"RandomReal", "[", "]"}], ",", "\"\<!\>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{"0", ",", "\"\<\\\"\>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{"0", ",", "\"\<#\>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{"0", ",", "\"\<$\>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{"0", ",", "\"\<%\>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{
         RowBox[{"RandomReal", "[", "]"}], ",", "\"\<&\>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{
         RowBox[{"RandomReal", "[", "]"}], ",", "\"\<'\>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{"0", ",", "\"\<(\>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{"0", ",", "\"\<)\>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{
         RowBox[{"RandomReal", "[", "]"}], ",", "\"\<*\>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{
         RowBox[{"RandomReal", "[", "]"}], ",", "\"\<+\>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{"0", ",", "\"\<,\>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{
         RowBox[{"RandomReal", "[", "]"}], ",", "\"\<-\>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{
         RowBox[{"RandomReal", "[", "]"}], ",", "\"\<.\>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{
         RowBox[{"RandomReal", "[", "]"}], ",", "\"\</\>\""}], "}"}], ",", 
       "\[IndentingNewLine]", 
       RowBox[{"{", 
        RowBox[{"digitProb", ",", "\"\<1\>\""}], "}"}], ",", 
       "\[IndentingNewLine]", 
       RowBox[{"{", 
        RowBox[{"digitProb", ",", "\"\<2\>\""}], "}"}], ",", 
       "\[IndentingNewLine]", 
       RowBox[{"{", 
        RowBox[{"digitProb", ",", "\"\<3\>\""}], "}"}], ",", 
       "\[IndentingNewLine]", 
       RowBox[{"{", 
        RowBox[{
         RowBox[{"RandomReal", "[", "]"}], ",", "\"\<:\>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{"0", ",", "\"\<;\>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{
         RowBox[{"RandomReal", "[", "]"}], ",", "\"\<<\>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{
         RowBox[{"RandomReal", "[", "]"}], ",", "\"\<=\>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{
         RowBox[{"RandomReal", "[", "]"}], ",", "\"\<>\>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{"0", ",", "\"\<?\>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{
         RowBox[{"RandomReal", "[", "]"}], ",", "\"\<@\>\""}], "}"}], ",", 
       "\[IndentingNewLine]", 
       RowBox[{"{", 
        RowBox[{"letterlikeProb", ",", "\"\<A\>\""}], "}"}], ",", 
       "\[IndentingNewLine]", 
       RowBox[{"{", 
        RowBox[{"letterlikeProb", ",", "\"\<B\>\""}], "}"}], ",", 
       "\[IndentingNewLine]", 
       RowBox[{"{", 
        RowBox[{"letterlikeProb", ",", "\"\<C\>\""}], "}"}], ",", 
       "\[IndentingNewLine]", 
       RowBox[{"{", 
        RowBox[{"0.2", ",", "\"\<[\>\""}], "}"}], ",", "\[IndentingNewLine]", 
       
       RowBox[{"{", 
        RowBox[{"0", ",", "\"\<\\\\\>\""}], "}"}], ",", "\[IndentingNewLine]", 
       RowBox[{"{", 
        RowBox[{"0.2", ",", "\"\<]\>\""}], "}"}], ",", "\[IndentingNewLine]", 
       
       RowBox[{"{", 
        RowBox[{
         RowBox[{"RandomReal", "[", "]"}], ",", "\"\<^\>\""}], "}"}], ",", 
       "\[IndentingNewLine]", 
       RowBox[{"{", 
        RowBox[{"0", ",", "\"\<_\>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{"0", ",", "\"\<`\>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{"0", ",", "\"\<{\>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{
         RowBox[{"RandomReal", "[", "]"}], ",", "\"\<|\>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{"0", ",", "\"\<}\>\""}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{
         RowBox[{"RandomReal", "[", "]"}], ",", "\"\<~\>\""}], "}"}], ",", 
       "\[IndentingNewLine]", 
       RowBox[{"{", 
        RowBox[{
         RowBox[{"RandomReal", "[", "]"}], ",", "\"\<\\\\\\n\>\""}], "}"}]}], 
      "\[IndentingNewLine]", "}"}], "]"}]}]}], ";"}]], "Input",ExpressionUUID->\
"c874e4b6-08c3-420d-a225-3f0b725bb2f2"],

Cell[BoxData[
 RowBox[{"Dynamic", "[", "formatted", "]"}]], "Input",ExpressionUUID->"69c924f9-8576-412b-91e7-4ac8dd628098"],

Cell[BoxData[{
 RowBox[{
  RowBox[{"CodeFormatter`Private`$Debug", "=", "xTrue"}], 
  ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"CodeFormatter`Private`$DisableSanityChecking", "=", "xTrue"}], 
  ";"}], "\[IndentingNewLine]", 
 RowBox[{"While", "[", 
  RowBox[{"True", ",", "\[IndentingNewLine]", 
   RowBox[{
    RowBox[{"str", "=", 
     RowBox[{"StringJoin", "[", 
      RowBox[{"RandomChoice", "[", 
       RowBox[{"rules", ",", "15"}], "]"}], "]"}]}], ";", 
    "\[IndentingNewLine]", 
    RowBox[{"Check", "[", 
     RowBox[{
      RowBox[{
       RowBox[{"good", "=", 
        RowBox[{"CodeSyntaxQ", "[", "str", "]"}]}], ";"}], ",", 
      RowBox[{"Throw", "[", 
       RowBox[{
        RowBox[{"{", 
         RowBox[{"CodeSyntaxQ", ",", "str"}], "}"}], ",", 
        "\"\<GeneratedAMessage\>\""}], "]"}]}], "]"}], ";", 
    "\[IndentingNewLine]", 
    RowBox[{"If", "[", 
     RowBox[{
      RowBox[{"!", "good"}], ",", "\[IndentingNewLine]", 
      RowBox[{"Continue", "[", "]"}]}], "\[IndentingNewLine]", "]"}], ";", 
    "\[IndentingNewLine]", 
    RowBox[{"width", "=", 
     RowBox[{"RandomInteger", "[", 
      RowBox[{"{", 
       RowBox[{"10", ",", "20"}], "}"}], "]"}]}], ";", "\[IndentingNewLine]", 
    
    RowBox[{"margin", "=", 
     RowBox[{"RandomInteger", "[", 
      RowBox[{"{", 
       RowBox[{"2", ",", "7"}], "}"}], "]"}]}], ";", "\[IndentingNewLine]", 
    RowBox[{"airiness", "=", 
     RowBox[{"RandomReal", "[", 
      RowBox[{"{", 
       RowBox[{
        RowBox[{"-", "1"}], ",", "1"}], "}"}], "]"}]}], ";", 
    "\[IndentingNewLine]", 
    RowBox[{"Check", "[", "\[IndentingNewLine]", 
     RowBox[{
      RowBox[{"Quiet", "[", "\[IndentingNewLine]", 
       RowBox[{
        RowBox[{
         RowBox[{"Check", "[", "\[IndentingNewLine]", 
          RowBox[{
           RowBox[{
            RowBox[{"formatted", "=", 
             RowBox[{"CodeFormat", "[", 
              RowBox[{"str", ",", 
               RowBox[{"\"\<LineWidth\>\"", "\[Rule]", "width"}], ",", 
               RowBox[{"\"\<SafetyMargin\>\"", "\[Rule]", "margin"}], ",", 
               RowBox[{"Airiness", "\[Rule]", "airiness"}]}], "]"}]}], ";"}], 
           "\[IndentingNewLine]", ",", "\[IndentingNewLine]", 
           RowBox[{"formatted", "=", "Null"}], "\[IndentingNewLine]", ",", 
           "\[IndentingNewLine]", 
           RowBox[{"{", 
            RowBox[{"CodeFormat", "::", "implicittimesaftercontinuation"}], 
            "}"}]}], "\[IndentingNewLine]", "]"}], ";"}], 
        "\[IndentingNewLine]", ",", "\[IndentingNewLine]", 
        RowBox[{"{", 
         RowBox[{"CodeFormat", "::", "implicittimesaftercontinuation"}], 
         "}"}]}], "\[IndentingNewLine]", "]"}], "\[IndentingNewLine]", ",", 
      "\[IndentingNewLine]", 
      RowBox[{"Throw", "[", 
       RowBox[{
        RowBox[{"{", 
         RowBox[{"CodeFormat", ",", "str"}], "}"}], ",", 
        "\"\<GeneratedAMessage\>\""}], "]"}]}], "\[IndentingNewLine]", "]"}], 
    ";", "\[IndentingNewLine]", 
    RowBox[{"If", "[", 
     RowBox[{
      RowBox[{"FailureQ", "[", "formatted", "]"}], ",", "\[IndentingNewLine]", 
      RowBox[{"Throw", "[", 
       RowBox[{"str", ",", "\"\<Unhandled2\>\""}], "]"}]}], 
     "\[IndentingNewLine]", "]"}], ";"}]}], "\[IndentingNewLine]", 
  "]"}]}], "Input",ExpressionUUID->"0a6e35b1-af3e-4aa5-964e-45d2eeb29bc5"],

Cell[BoxData["width"], "Input",ExpressionUUID->"123a25f1-1e80-429f-a795-79c970e677bc"],

Cell[BoxData["margin"], "Input",ExpressionUUID->"3467fbcd-a533-46a9-aacf-5fa864c02bea"],

Cell[BoxData[{"str", "\[IndentingNewLine]", 
 RowBox[{"CodeFormat", "[", 
  RowBox[{"str", ",", 
   RowBox[{"\"\<LineWidth\>\"", "\[Rule]", "width"}], ",", 
   RowBox[{"\"\<SafetyMargin\>\"", "\[Rule]", "margin"}]}], "]"}]}], "Input",E\
xpressionUUID->"543aa31d-fa00-4ec1-9c53-822fccd6aa47"],

Cell[BoxData[{
 RowBox[{
  RowBox[{"CodeFormatter`Private`$Debug", "=", "xTrue"}], 
  ";"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"CodeFormatter`Private`$DisableSanityChecking", "=", "True"}], 
  ";"}], "\[IndentingNewLine]", 
 RowBox[{"CodeFormat", "[", 
  RowBox[{"str", ",", 
   RowBox[{"\"\<LineWidth\>\"", "\[Rule]", "width"}], ",", 
   RowBox[{"\"\<SafetyMargin\>\"", "\[Rule]", "margin"}]}], "]"}]}], "Input",E\
xpressionUUID->"3e7c0858-021e-4df7-a5db-b9142c8f07f3"]
}, Closed]],

Cell[CellGroupData[{

Cell["Profiling", "Section",ExpressionUUID->"6f0d3f7d-ef6f-46fd-8084-70baa597d3fc"],

Cell[BoxData[
 RowBox[{"Quit", "[", "]"}]], "Input",
 CellChangeTimes->{{3.8254840791231737`*^9, 3.825484080944097*^9}, {
  3.825484968568007*^9, 
  3.825484970262446*^9}},ExpressionUUID->"1f1be09a-1b61-4c37-bee9-\
3f6a98db87e9"],

Cell[BoxData[
 RowBox[{"<<", "Instrumentation`"}]], "Input",
 CellChangeTimes->{{3.825484086232332*^9, 
  3.825484092663301*^9}},ExpressionUUID->"63237a00-13c9-4a6f-8ccc-\
7494ac65d678"],

Cell[BoxData[
 RowBox[{
  RowBox[{
  "Instrumentation`External`$Editor", "=", "\"\<Visual Studio Code\>\""}], 
  ";"}]], "Input",
 CellChangeTimes->{{3.82548506075495*^9, 
  3.825485076862906*^9}},ExpressionUUID->"698a39a7-94ac-4fa9-ac1c-\
2f1ff1c75467"],

Cell[BoxData[
 RowBox[{"ProfileInstrument", "[", 
  RowBox[{"PacletObject", "[", "\"\<CodeFormatter\>\"", "]"}], "]"}]], "Input",\

 CellChangeTimes->{{3.8254840979600363`*^9, 
  3.825484115862557*^9}},ExpressionUUID->"5d82bea0-32f9-4b28-83b1-\
b4b6fa24eaad"],

Cell[BoxData[
 RowBox[{"PacletDirectoryLoad", "[", "%", "]"}]], "Input",
 CellChangeTimes->{{3.825484186437791*^9, 
  3.825484195774865*^9}},ExpressionUUID->"97e69a01-d062-45b0-ac2b-\
e927dfe90685"],

Cell[BoxData[
 RowBox[{"FindFile", "[", "\"\<CodeFormatter`\>\"", "]"}]], "Input",
 CellChangeTimes->{{3.825484198705646*^9, 
  3.825484206777609*^9}},ExpressionUUID->"a6249eb6-67e3-4dc2-bbda-\
8c8d98dc71c4"],

Cell[BoxData[
 RowBox[{"<<", "CodeFormatter`"}]], "Input",
 CellChangeTimes->{{3.825483934959374*^9, 
  3.82548394466605*^9}},ExpressionUUID->"7d40d236-5652-4733-8207-\
fc954a977a1f"],

Cell[BoxData[
 RowBox[{
  RowBox[{"CodeFormatter`Private`$Debug", "=", "xTrue"}], ";"}]], "Input",Expr\
essionUUID->"521005d2-cd4e-4038-90fd-f39401b67113"],

Cell[BoxData[
 RowBox[{
  RowBox[{"names", "=", 
   RowBox[{"FileNames", "[", 
    RowBox[{
    "\"\<*.m\>\"", ",", 
     "\"\</Users/brenton/development/stash/COD/codeformatter/build-examples/\
kernel/\>\"", ",", "Infinity"}], "]"}]}], ";"}]], "Input",
 CellChangeTimes->{{3.8254844122377234`*^9, 3.825484418896182*^9}, {
  3.825484451308403*^9, 
  3.8254844680202827`*^9}},ExpressionUUID->"9dea3cbf-8bac-413a-8321-\
6dbf2f8a6ffd"],

Cell[BoxData[
 RowBox[{"RandomChoice", "[", "names", "]"}]], "Input",
 CellChangeTimes->{{3.825484472911367*^9, 
  3.8254844779535513`*^9}},ExpressionUUID->"8b39667a-5b89-420d-8e21-\
6ea757cf2a78"],

Cell[BoxData[
 RowBox[{
  RowBox[{
   RowBox[{"{", 
    RowBox[{"res", ",", "data"}], "}"}], "=", 
   RowBox[{"ProfileEvaluate", "[", 
    RowBox[{
     RowBox[{"CodeFormat", "[", 
      RowBox[{
       RowBox[{"File", "[", "%", "]"}], ",", 
       RowBox[{"PerformanceGoal", "->", "\"\<Speed\>\""}]}], "]"}], ";"}], 
    "]"}]}], ";"}]], "Input",
 CellChangeTimes->{{3.825483962012753*^9, 3.825483973864184*^9}, {
  3.825484223723072*^9, 3.82548424140569*^9}, {3.825484485408008*^9, 
  3.8254844879087267`*^9}, {3.825485266174942*^9, 
  3.825485271532641*^9}},ExpressionUUID->"fc8a0326-b8ba-4baf-b531-\
861855052e1e"],

Cell[BoxData[
 RowBox[{
  RowBox[{"processed", "=", 
   RowBox[{"ProfileProcess", "[", "data", "]"}]}], ";"}]], "Input",
 CellChangeTimes->{{3.825484246182411*^9, 3.82548425420535*^9}, 
   3.8254845003708344`*^9},ExpressionUUID->"2d1cee2e-fe4e-4f2b-9eb9-\
058d12a90191"],

Cell[BoxData[
 RowBox[{"ProfileReport", "[", 
  RowBox[{"processed", ",", 
   RowBox[{
   "\"\<FileNamePrefixPattern\>\"", "->", 
    "\"\</Users/brenton/Library/Mathematica/Paclets/Repository/CodeFormatter-\
999.9/Kernel/\>\""}]}], "]"}]], "Input",
 CellChangeTimes->{{3.8254842575287647`*^9, 3.825484263719398*^9}, {
  3.825484308049396*^9, 
  3.8254843765406322`*^9}},ExpressionUUID->"d3f2eeef-a299-4da4-b33f-\
4e702ed30b6a"]
}, Closed]]
},
WindowSize->{1376, 1019},
WindowMargins->{{12, Automatic}, {Automatic, 9}},
TaggingRules->{"TryRealOnly" -> False},
CellLabelAutoDelete->True,
TrackCellChangeTimes->False,
FrontEndVersion->"12.3 for Mac OS X x86 (64-bit) (March 21, 2021)",
StyleDefinitions->"Default.nb",
ExpressionUUID->"814ff041-a0b6-452f-92f0-3a06a778d39d"
]
(* End of Notebook Content *)

(* Internal cache information *)
(*CellTagsOutline
CellTagsIndex->{}
*)
(*CellTagsIndex
CellTagsIndex->{}
*)
(*NotebookFileOutline
Notebook[{
Cell[558, 20, 107, 1, 30, "Input",ExpressionUUID->"3b9a12f6-612d-4a7f-bd5b-2746cc82277c"],
Cell[668, 23, 221, 4, 52, "Input",ExpressionUUID->"f3cd21b6-262f-4b8f-b59b-730e67504546"],
Cell[892, 29, 410, 9, 52, "Input",ExpressionUUID->"f31e47a7-9e18-4eef-814a-2fd1863770e0"],
Cell[1305, 40, 250, 4, 30, "Input",ExpressionUUID->"bfa066af-e71d-4aec-b76e-79daf7059a6c"],
Cell[CellGroupData[{
Cell[1580, 48, 80, 0, 67, "Section",ExpressionUUID->"f2fac607-b107-44be-b828-05790349567f"],
Cell[1663, 50, 145, 2, 30, "Input",ExpressionUUID->"1f548012-f673-42fa-a4c5-904b70812485"],
Cell[1811, 54, 225, 4, 30, "Input",ExpressionUUID->"40b3a4cf-0fa6-4cf7-9b85-034a2b03a753"]
}, Open  ]],
Cell[CellGroupData[{
Cell[2073, 63, 78, 0, 67, "Section",ExpressionUUID->"161cd04d-46b3-42df-8427-03d225a20277"],
Cell[2154, 65, 146, 3, 30, "Input",ExpressionUUID->"a6187360-7d23-4d23-a47a-654cf04427ae"],
Cell[2303, 70, 134, 1, 30, "Input",ExpressionUUID->"231e648e-ad20-45bd-816a-097eda789be8"],
Cell[2440, 73, 148, 3, 30, "Input",ExpressionUUID->"614a6dcf-7458-416d-9f32-2695536d9e32"],
Cell[2591, 78, 189, 4, 30, "Input",ExpressionUUID->"a930a67f-90a1-4eb7-a8f7-a4b2bd3a6b8b"],
Cell[2783, 84, 217, 6, 30, "Input",ExpressionUUID->"080ec075-55fa-4d6e-a4f4-057879a07e35"],
Cell[3003, 92, 169, 3, 30, "Input",ExpressionUUID->"a56148d3-69d4-4445-ac98-8c52bd99d838"],
Cell[3175, 97, 177, 3, 30, "Input",ExpressionUUID->"dace797b-1c44-4768-beb5-d52b9208055a"],
Cell[3355, 102, 263, 7, 30, "Input",ExpressionUUID->"06249f9a-2c60-4439-98bf-300cb0caa179"],
Cell[3621, 111, 145, 2, 30, "Input",ExpressionUUID->"10ccfebd-c8d4-49a6-ad1e-5f4d5f04ac89"]
}, Closed]],
Cell[CellGroupData[{
Cell[3803, 118, 88, 0, 53, "Section",ExpressionUUID->"11d6b8f6-32be-450f-8fe8-86d52e3363c1"],
Cell[3894, 120, 6492, 183, 829, "Input",ExpressionUUID->"7ad6e544-bdbf-4d2a-82a6-39d2b4657e9b"],
Cell[10389, 305, 118, 1, 30, "Input",ExpressionUUID->"cc4c7e72-04fd-428f-abe9-a639728a33e9"],
Cell[10510, 308, 137, 3, 30, "Input",ExpressionUUID->"466588fc-b15a-41b3-886a-a7cb7ddd9b21"],
Cell[10650, 313, 228, 5, 52, "Input",ExpressionUUID->"d9883cb5-124d-4b97-96c8-65f6690f0d5d"],
Cell[10881, 320, 492, 12, 94, "Input",ExpressionUUID->"58a667ac-1a60-4758-831a-093e5d476d37"],
Cell[11376, 334, 126, 2, 30, "Input",ExpressionUUID->"3a1c2e3c-fc92-489f-a397-4c5c71245e7c"],
Cell[11505, 338, 4244, 105, 640, "Input",ExpressionUUID->"928b0e27-a38d-42a7-a96b-61286fb53b2a"]
}, Closed]],
Cell[CellGroupData[{
Cell[15786, 448, 105, 0, 53, "Section",ExpressionUUID->"abf6b4dd-8fdb-47ba-adc8-bfe7993dc8b3"],
Cell[15894, 450, 5640, 158, 787, "Input",ExpressionUUID->"c986dad7-4fd0-4eb6-85c6-c78ee10892d7"],
Cell[21537, 610, 118, 1, 30, "Input",ExpressionUUID->"106e35ab-0887-4873-aa92-e40f550adfc9"],
Cell[21658, 613, 137, 3, 30, "Input",ExpressionUUID->"5a4be2cb-f9da-4e6a-bc9a-dbca93af8639"],
Cell[21798, 618, 228, 5, 52, "Input",ExpressionUUID->"bc0b606b-d6c6-4c75-95e0-86995008c0f2"],
Cell[22029, 625, 492, 12, 94, "Input",ExpressionUUID->"620a0d76-d274-4612-99c4-721b2f5cdebf"],
Cell[22524, 639, 126, 2, 30, "Input",ExpressionUUID->"1f581042-7426-4b7d-8e91-c97f197e96d1"],
Cell[22653, 643, 4110, 102, 661, "Input",ExpressionUUID->"59566411-909a-43a8-a763-61aa7adc1ec7"]
}, Closed]],
Cell[CellGroupData[{
Cell[26800, 750, 84, 0, 53, "Section",ExpressionUUID->"55fdb53e-ce21-4677-b1ca-3a49fb8d3706"],
Cell[26887, 752, 107, 1, 30, "Input",ExpressionUUID->"a8307a45-0a30-4e2b-b1ab-e6dd7d63632c"],
Cell[26997, 755, 131, 1, 30, "Input",ExpressionUUID->"8ab703bd-e296-46fb-b6b4-67a4865fea1c"],
Cell[27131, 758, 134, 1, 30, "Input",ExpressionUUID->"fd358639-5ffd-44c3-a868-bebf4ac75d78"],
Cell[27268, 761, 154, 3, 30, "Input",ExpressionUUID->"a03ea21a-da90-4bf7-8488-b56ba3b87acf"],
Cell[27425, 766, 128, 1, 30, "Input",ExpressionUUID->"c8700373-dfe2-44cb-b7a4-ee35a218cc03"]
}, Closed]],
Cell[CellGroupData[{
Cell[27590, 772, 86, 0, 53, "Section",ExpressionUUID->"3b721d16-8d33-4808-864d-3f17b9f00974"],
Cell[27679, 774, 107, 1, 30, "Input",ExpressionUUID->"6b570fbe-4c0e-44f3-9a09-e1e05b536185"],
Cell[27789, 777, 221, 4, 52, "Input",ExpressionUUID->"d2f65c5d-ea7f-466d-8898-2754d1c45817"],
Cell[28013, 783, 410, 9, 52, "Input",ExpressionUUID->"700b4f0b-afe8-4056-bda8-3028e6a54424"],
Cell[28426, 794, 223, 3, 52, "Input",ExpressionUUID->"96ae0ff5-9cc3-47c5-9067-1bccb623ca6c"],
Cell[28652, 799, 323, 9, 30, "Input",ExpressionUUID->"8f816374-fb59-4833-bce4-c667edca079a"],
Cell[28978, 810, 134, 1, 30, "Input",ExpressionUUID->"5ea4b777-e753-43a5-8f9e-a4f2963a32c2"],
Cell[29115, 813, 322, 9, 30, "Input",ExpressionUUID->"6ac7e064-389d-4e75-bc1f-e69ac7a88cf7"],
Cell[29440, 824, 167, 3, 30, "Input",ExpressionUUID->"41a97de2-6494-4710-9236-2d3b9cceee72"],
Cell[29610, 829, 422, 11, 30, "Input",ExpressionUUID->"6654677f-d6bf-4d62-b72c-8a11f1cf0eb3"],
Cell[30035, 842, 551, 16, 30, "Input",ExpressionUUID->"83aad227-072b-40de-ac67-6c3bfb8a6cea"],
Cell[30589, 860, 610, 17, 52, "Input",ExpressionUUID->"572bcff4-dca3-48f1-a9da-bf2ef3e8efaf"],
Cell[31202, 879, 513, 14, 52, "Input",ExpressionUUID->"b28ca3fa-0976-4130-91d7-de408f3d1789"],
Cell[31718, 895, 815, 24, 52, "Input",ExpressionUUID->"b4ecbe07-1c6c-4ed7-bd04-2f319f58c6ad"]
}, Closed]],
Cell[CellGroupData[{
Cell[32570, 924, 88, 0, 53, "Section",ExpressionUUID->"c0756288-c896-4d5e-b397-f473cf991458"],
Cell[32661, 926, 110, 1, 30, "Input",ExpressionUUID->"a3436fcc-d073-4837-8a58-dff0e0769307"],
Cell[32774, 929, 113, 1, 30, "Input",ExpressionUUID->"61c24679-58c5-4258-a973-ed4c1d8743db"],
Cell[32890, 932, 276, 6, 52, "Input",ExpressionUUID->"ea92c404-d92f-41b0-b5c5-1cf01817145e"],
Cell[33169, 940, 519, 13, 136, "Input",ExpressionUUID->"af852557-207e-456b-bcd4-348d26d4d7c8"],
Cell[33691, 955, 4549, 121, 367, "Input",ExpressionUUID->"c874e4b6-08c3-420d-a225-3f0b725bb2f2"],
Cell[38243, 1078, 123, 1, 30, "Input",ExpressionUUID->"69c924f9-8576-412b-91e7-4ac8dd628098"],
Cell[38369, 1081, 3351, 83, 640, "Input",ExpressionUUID->"0a6e35b1-af3e-4aa5-964e-45d2eeb29bc5"],
Cell[41723, 1166, 86, 0, 30, "Input",ExpressionUUID->"123a25f1-1e80-429f-a795-79c970e677bc"],
Cell[41812, 1168, 87, 0, 30, "Input",ExpressionUUID->"3467fbcd-a533-46a9-aacf-5fa864c02bea"],
Cell[41902, 1170, 291, 5, 52, "Input",ExpressionUUID->"543aa31d-fa00-4ec1-9c53-822fccd6aa47"],
Cell[42196, 1177, 480, 11, 73, "Input",ExpressionUUID->"3e7c0858-021e-4df7-a5db-b9142c8f07f3"]
}, Closed]],
Cell[CellGroupData[{
Cell[42713, 1193, 83, 0, 53, "Section",ExpressionUUID->"6f0d3f7d-ef6f-46fd-8084-70baa597d3fc"],
Cell[42799, 1195, 229, 5, 30, "Input",ExpressionUUID->"1f1be09a-1b61-4c37-bee9-3f6a98db87e9"],
Cell[43031, 1202, 186, 4, 30, "Input",ExpressionUUID->"63237a00-13c9-4a6f-8ccc-7494ac65d678"],
Cell[43220, 1208, 254, 7, 30, "Input",ExpressionUUID->"698a39a7-94ac-4fa9-ac1c-2f1ff1c75467"],
Cell[43477, 1217, 259, 6, 30, "Input",ExpressionUUID->"5d82bea0-32f9-4b28-83b1-b4b6fa24eaad"],
Cell[43739, 1225, 198, 4, 30, "Input",ExpressionUUID->"97e69a01-d062-45b0-ac2b-e927dfe90685"],
Cell[43940, 1231, 208, 4, 30, "Input",ExpressionUUID->"a6249eb6-67e3-4dc2-bbda-8c8d98dc71c4"],
Cell[44151, 1237, 183, 4, 30, "Input",ExpressionUUID->"7d40d236-5652-4733-8207-fc954a977a1f"],
Cell[44337, 1243, 155, 3, 30, "Input",ExpressionUUID->"521005d2-cd4e-4038-90fd-f39401b67113"],
Cell[44495, 1248, 432, 11, 30, "Input",ExpressionUUID->"9dea3cbf-8bac-413a-8321-6dbf2f8a6ffd"],
Cell[44930, 1261, 197, 4, 30, "Input",ExpressionUUID->"8b39667a-5b89-420d-8e21-6ea757cf2a78"],
Cell[45130, 1267, 618, 16, 30, "Input",ExpressionUUID->"fc8a0326-b8ba-4baf-b531-861855052e1e"],
Cell[45751, 1285, 270, 6, 30, "Input",ExpressionUUID->"2d1cee2e-fe4e-4f2b-9eb9-058d12a90191"],
Cell[46024, 1293, 428, 10, 52, "Input",ExpressionUUID->"d3f2eeef-a299-4da4-b33f-4e702ed30b6a"]
}, Closed]]
}
]
*)

